<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CAD-Tool: Object_3d Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CAD-Tool
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_object__3d-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Object_3d Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_object__3d_8h_source.html">Object_3d.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad2e34d10075c342d690bd8d6648af371"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#ad2e34d10075c342d690bd8d6648af371">Object_3d</a> (std::vector&lt; <a class="el" href="classvertex__3d.html">vertex_3d</a> &gt; <a class="el" href="class_object__3d.html#a7817c087a9d1bb4f0e077e2b070e9596">v3d_list</a>, std::vector&lt; <a class="el" href="classedge__3d.html">edge_3d</a> &gt; <a class="el" href="class_object__3d.html#a678f396b3aa4a3c0958ec0c7b7f36e89">e3d_list</a>, std::vector&lt; std::vector&lt; int &gt; &gt; <a class="el" href="class_object__3d.html#a979ba92cf69caa653b89cf75fd278afe">surface_list</a>)</td></tr>
<tr class="memdesc:ad2e34d10075c342d690bd8d6648af371"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#ad2e34d10075c342d690bd8d6648af371">More...</a><br /></td></tr>
<tr class="separator:ad2e34d10075c342d690bd8d6648af371"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe30ddbc60c6bff11d4603ddfbd0e7c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#abe30ddbc60c6bff11d4603ddfbd0e7c8">Object_3d</a> (<a class="el" href="classobject__2d.html">object_2d</a> o)</td></tr>
<tr class="separator:abe30ddbc60c6bff11d4603ddfbd0e7c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab341c1f81c8c3d18e7246c7bdc3ad27"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#aab341c1f81c8c3d18e7246c7bdc3ad27">Object_3d</a> ()</td></tr>
<tr class="separator:aab341c1f81c8c3d18e7246c7bdc3ad27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52e3ed72c9afd7e0cbe1191f0ae7be03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#a52e3ed72c9afd7e0cbe1191f0ae7be03">add_vertex</a> (<a class="el" href="classvertex__3d.html">vertex_3d</a> v)</td></tr>
<tr class="memdesc:a52e3ed72c9afd7e0cbe1191f0ae7be03"><td class="mdescLeft">&#160;</td><td class="mdescRight">function to add a vertex in the vector of vertices  <a href="#a52e3ed72c9afd7e0cbe1191f0ae7be03">More...</a><br /></td></tr>
<tr class="separator:a52e3ed72c9afd7e0cbe1191f0ae7be03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19b46c5f95adb7b81cf8ee514b6bef60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#a19b46c5f95adb7b81cf8ee514b6bef60">add_edge</a> (<a class="el" href="classedge__3d.html">edge_3d</a> e)</td></tr>
<tr class="memdesc:a19b46c5f95adb7b81cf8ee514b6bef60"><td class="mdescLeft">&#160;</td><td class="mdescRight">function to add an edge in the vector of edges  <a href="#a19b46c5f95adb7b81cf8ee514b6bef60">More...</a><br /></td></tr>
<tr class="separator:a19b46c5f95adb7b81cf8ee514b6bef60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a546b0512f0df977d381ab4964ab12a9b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#a546b0512f0df977d381ab4964ab12a9b">remove_edge</a> (<a class="el" href="classedge__3d.html">edge_3d</a> e)</td></tr>
<tr class="memdesc:a546b0512f0df977d381ab4964ab12a9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">function to remove an edge in the vector of edges  <a href="#a546b0512f0df977d381ab4964ab12a9b">More...</a><br /></td></tr>
<tr class="separator:a546b0512f0df977d381ab4964ab12a9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a7817c087a9d1bb4f0e077e2b070e9596"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classvertex__3d.html">vertex_3d</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#a7817c087a9d1bb4f0e077e2b070e9596">v3d_list</a></td></tr>
<tr class="memdesc:a7817c087a9d1bb4f0e077e2b070e9596"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector of 3d vertices  <a href="#a7817c087a9d1bb4f0e077e2b070e9596">More...</a><br /></td></tr>
<tr class="separator:a7817c087a9d1bb4f0e077e2b070e9596"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a678f396b3aa4a3c0958ec0c7b7f36e89"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classedge__3d.html">edge_3d</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#a678f396b3aa4a3c0958ec0c7b7f36e89">e3d_list</a></td></tr>
<tr class="memdesc:a678f396b3aa4a3c0958ec0c7b7f36e89"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector of 3d edges  <a href="#a678f396b3aa4a3c0958ec0c7b7f36e89">More...</a><br /></td></tr>
<tr class="separator:a678f396b3aa4a3c0958ec0c7b7f36e89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a979ba92cf69caa653b89cf75fd278afe"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; int &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object__3d.html#a979ba92cf69caa653b89cf75fd278afe">surface_list</a></td></tr>
<tr class="separator:a979ba92cf69caa653b89cf75fd278afe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_object__3d_8h_source.html#l00036">36</a> of file <a class="el" href="_object__3d_8h_source.html">Object_3d.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad2e34d10075c342d690bd8d6648af371"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Object_3d::Object_3d </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classvertex__3d.html">vertex_3d</a> &gt;&#160;</td>
          <td class="paramname"><em>v3d_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classedge__3d.html">edge_3d</a> &gt;&#160;</td>
          <td class="paramname"><em>e3d_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::vector&lt; int &gt; &gt;&#160;</td>
          <td class="paramname"><em>surface_list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>

<p>Definition at line <a class="el" href="_object__3d_8cpp_source.html#l00013">13</a> of file <a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abe30ddbc60c6bff11d4603ddfbd0e7c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Object_3d::Object_3d </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classobject__2d.html">object_2d</a>&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This constructor consists -</p><ol type="1">
<li>Adding vertices</li>
<li>Decision-tree processing for adding edges.</li>
<li>RER (Redundant Edges Removal)</li>
<li>Planer graph generation</li>
<li>Face Loop generation</li>
<li>Body Part generation </li>
</ol>

<p>Definition at line <a class="el" href="_object__3d_8cpp_source.html#l00042">42</a> of file <a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aab341c1f81c8c3d18e7246c7bdc3ad27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Object_3d::Object_3d </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_object__3d_8cpp_source.html#l00082">82</a> of file <a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a19b46c5f95adb7b81cf8ee514b6bef60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Object_3d::add_edge </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classedge__3d.html">edge_3d</a>&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>function to add an edge in the vector of edges </p>

<p>Definition at line <a class="el" href="_object__3d_8cpp_source.html#l00094">94</a> of file <a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a52e3ed72c9afd7e0cbe1191f0ae7be03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Object_3d::add_vertex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classvertex__3d.html">vertex_3d</a>&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>function to add a vertex in the vector of vertices </p>

<p>Definition at line <a class="el" href="_object__3d_8cpp_source.html#l00089">89</a> of file <a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a546b0512f0df977d381ab4964ab12a9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Object_3d::remove_edge </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classedge__3d.html">edge_3d</a>&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>function to remove an edge in the vector of edges </p>

<p>Definition at line <a class="el" href="_object__3d_8cpp_source.html#l00099">99</a> of file <a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a678f396b3aa4a3c0958ec0c7b7f36e89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classedge__3d.html">edge_3d</a>&gt; Object_3d::e3d_list</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>vector of 3d edges </p>

<p>Definition at line <a class="el" href="_object__3d_8h_source.html#l00041">41</a> of file <a class="el" href="_object__3d_8h_source.html">Object_3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a979ba92cf69caa653b89cf75fd278afe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::vector&lt;int&gt; &gt; Object_3d::surface_list</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>vector of surfaces, one surface is vector of 3d edges </p>

<p>Definition at line <a class="el" href="_object__3d_8h_source.html#l00043">43</a> of file <a class="el" href="_object__3d_8h_source.html">Object_3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7817c087a9d1bb4f0e077e2b070e9596"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classvertex__3d.html">vertex_3d</a>&gt; Object_3d::v3d_list</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>vector of 3d vertices </p>

<p>Definition at line <a class="el" href="_object__3d_8h_source.html#l00039">39</a> of file <a class="el" href="_object__3d_8h_source.html">Object_3d.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_object__3d_8h_source.html">Object_3d.h</a></li>
<li>/home/manish/Desktop/Manish_CAD_Tool/src/<a class="el" href="_object__3d_8cpp_source.html">Object_3d.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
